package com.bootdo.system.service;

import com.bootdo.system.domain.DayLogVO;
import com.bootdo.system.domain.FrontlogDO;
import com.huobi.model.trade.Order;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2021-02-04 11:46:52
 */
public interface FrontlogService {

	void savelog(String logbeizhu, Order order, long userid, String jiaoyitype);
	
	FrontlogDO get(Long id);
	
	List<FrontlogDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(FrontlogDO frontlog);
	
	int update(FrontlogDO frontlog);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);

    List<String> getUserDates(Long userId);

	List<DayLogVO> getdaylog(Long userId, List<String> dates);


	List<FrontlogDO> getBeizhu(int adminid, Long transactId);

    void saveSellLog(Long userid, int jiaoyitype, String bizhongname, String content, BigDecimal chicangshuliang, BigDecimal chicangjunjia, String clientOrderId);

    void deleyeByBeizhu(String beizhu);

	FrontlogDO getByBeizhu(String s);
}
